getRoleValue

abstract fun getRoleValue(): Int

Sets the role of node
.meshtastic.Config.DeviceConfig.Role role = 1;

Return

The enum numeric value on the wire for role.